package com.example.dayu521.sg_oss.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_trade_detail
 */
@TableName(value ="t_trade_detail")
@Data
public class TradeDetail implements Serializable {
    /**
     * 
     */
    @TableField(value = "id")
    private Long id;

    /**
     * 
     */
    @TableField(value = "trade_bus_id")
    private Long trade_bus_id;

    /**
     * 
     */
    @TableField(value = "p_id")
    private Long p_id;

    /**
     * 
     */
    @TableField(value = "num")
    private Long num;

    /**
     * 
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 
     */
    @TableField(value = "p_name")
    private String p_name;

    /**
     * 
     */
    @TableField(value = "sum_money")
    private BigDecimal sum_money;

    /**
     * 
     */
    @TableField(value = "date")
    private Date date;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}